package cn.tedu.store.temperatureDetection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2022-11-28 17:36:52
 */
@Data
@TableName("COM_TEMPERATURE_EMPLOYEE")
public class EmployeeTemperature {

    /**主键id*/
   @TableField(value = "ID")
    private Long id;

    /**员工编号**/
    @TableField(value = "EMPL_CODE")
    private String emplCode;

    /**员工体温上午**/
    @TableField(value = "EMPL_TEMPERATURE_MORNING")
    private String emplTemperatureMorning;

    /**员工体温下午**/
    @TableField(value = "EMPL_TEMPERATURE_AFTERNOON")
    private String emplTemperatureAfternoon;

    /**是否做核酸**/
    @TableField(value = "NUCLEIC")
    private String nucleic;

    @TableField(value = "PHONE")
    private String phone;
    /**工作岗位*/
    @TableField(value = "WORK_POST")
    private String workPost;


    /**身体是否异常*/
    @TableField(value = "BODY_ABNORMAL")
    private String bodyAbnormal;

    /**是否暴露*/
    @TableField(value = "OCCUPATIONAL_EXPOSURE")
    private String occupationalExposure;

    @TableField(value = "NAME")
    private String  name;
    /**健康码*/
    @TableField(value = "HEALTH_CODE")
    private String healthCode;

    /**去过的中高风险地区*/
    @TableField(value = "PLACE")
    private String place;

    @TableField(value = "RESULT")
    private String result;
    /**是否居家隔离*/
    @TableField(value = "QUARANTINE")
    private String quarantine;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**修改时间*/
    @TableField(value = "UPDATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**逻辑删除*/
    @TableLogic()
    private Integer isDelete;
}
